<template>
  <div class="search">
     <navigation></navigation>

     <div class="searchbox">
       <input type="text" placeholder="what's this">
     </div>

     <newsList></newsList>
  </div>
</template>

<script>
import navigation from '../components/head'
import newsList from '../components/newsList'

export default {
  components:{
    navigation,
    newsList
  },
  methods: {
    back(){
      this.$router.go(-1)
    },
  },
}
</script>

<style scoped>
.searchbox{
  width: 95%;
  margin: 10px auto;
}
.searchbox>input{
  width:100%;
  height: 30px;
  border-radius: 5px;
  border: 1px solid gainsboro;
  padding: 0 10px;
  display: block;
  box-sizing: border-box;
  font-size: 15px;
}
.searchbox input::placeholder{
  padding: 0 10px;
  font-size: 15px;
}


</style>